/**----------------------------------------
 * @description 全局变量定义
 * @author      lxc
 * @file        GlobalDefine.ts
 * @Date        2022-05-05
 * @version     1.0.0
 * ----------------------------------------
 */

import { DataManager } from "./DataManager";
import { DownloadMgr } from "./DownloadMgr";
import { MsgMgr } from "./message/MsgMgr";
import { ResourceManager } from "./resource/ResourceManager";
import { Tools } from "./tools/Tools";

export class GlobalDefine{
    UIMsgMgr : MsgMgr = null;
    Debug : boolean = false;
    TempDebug : boolean = false;
    Tools : Tools = null;
    ResMgr : ResourceManager = null;
    DataMgr : DataManager = null;
    TestLayer : cc.Node = null;
    Download : DownloadMgr = null;
    // 一个 key value 的数据管理器，每个都写一个属性访问器太费劲了
}